Optimal. Leaf size=73 \[ \frac{2 \sin (e+f x)}{3 a^2 f \sqrt{a+b \sin ^2(e+f x)}}+\frac{\sin (e+f x) \cos ^2(e+f x)}{3 a f \left (a+b \sin ^2(e+f x)\right )^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0922958, antiderivative size = 73, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.12, Rules used = {3190, 378, 191} \[ \frac{2 \sin (e+f x)}{3 a^2 f \sqrt{a+b \sin ^2(e+f x)}}+\frac{\sin (e+f x) \cos ^2(e+f x)}{3 a f \left (a+b \sin ^2(e+f x)\right )^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3190
Rule 378
Rule 191
Rubi steps
\begin{align*} \int \frac{\cos ^3(e+f x)}{\left (a+b \sin ^2(e+f x)\right )^{5/2}} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{1-x^2}{\left (a+b x^2\right )^{5/2}} \, dx,x,\sin (e+f x)\right )}{f}\\ &=\frac{\cos ^2(e+f x) \sin (e+f x)}{3 a f \left (a+b \sin ^2(e+f x)\right )^{3/2}}+\frac{2 \operatorname{Subst}\left (\int \frac{1}{\left (a+b x^2\right )^{3/2}} \, dx,x,\sin (e+f x)\right )}{3 a f}\\ &=\frac{\cos ^2(e+f x) \sin (e+f x)}{3 a f \left (a+b \sin ^2(e+f x)\right )^{3/2}}+\frac{2 \sin (e+f x)}{3 a^2 f \sqrt{a+b \sin ^2(e+f x)}}\\ \end{align*}
Mathematica [A] time = 0.106822, size = 51, normalized size = 0.7 \[ \frac{3 a \sin (e+f x)-(a-2 b) \sin ^3(e+f x)}{3 a^2 f \left (a+b \sin ^2(e+f x)\right )^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 3.362, size = 120, normalized size = 1.6 \begin{align*}{\frac{\sin \left ( fx+e \right ) \left ( a \left ( \cos \left ( fx+e \right ) \right ) ^{2}-2\,b \left ( \cos \left ( fx+e \right ) \right ) ^{2}+2\,a+2\,b \right ) }{3\,{a}^{2} \left ({b}^{2} \left ( \cos \left ( fx+e \right ) \right ) ^{4}-2\,ab \left ( \cos \left ( fx+e \right ) \right ) ^{2}-2\,{b}^{2} \left ( \cos \left ( fx+e \right ) \right ) ^{2}+{a}^{2}+2\,ab+{b}^{2} \right ) f}\sqrt{-b \left ( \cos \left ( fx+e \right ) \right ) ^{2}+{\frac{a{b}^{2}+{b}^{3}}{{b}^{2}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.97476, size = 144, normalized size = 1.97 \begin{align*} \frac{\frac{2 \, \sin \left (f x + e\right )}{\sqrt{b \sin \left (f x + e\right )^{2} + a} a^{2}} + \frac{\sin \left (f x + e\right )}{{\left (b \sin \left (f x + e\right )^{2} + a\right )}^{\frac{3}{2}} a} + \frac{\sin \left (f x + e\right )}{{\left (b \sin \left (f x + e\right )^{2} + a\right )}^{\frac{3}{2}} b} - \frac{\sin \left (f x + e\right )}{\sqrt{b \sin \left (f x + e\right )^{2} + a} a b}}{3 \, f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 4.28294, size = 250, normalized size = 3.42 \begin{align*} \frac{{\left ({\left (a - 2 \, b\right )} \cos \left (f x + e\right )^{2} + 2 \, a + 2 \, b\right )} \sqrt{-b \cos \left (f x + e\right )^{2} + a + b} \sin \left (f x + e\right )}{3 \,{\left (a^{2} b^{2} f \cos \left (f x + e\right )^{4} - 2 \,{\left (a^{3} b + a^{2} b^{2}\right )} f \cos \left (f x + e\right )^{2} +{\left (a^{4} + 2 \, a^{3} b + a^{2} b^{2}\right )} f\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.39039, size = 78, normalized size = 1.07 \begin{align*} -\frac{{\left (\frac{{\left (a b - 2 \, b^{2}\right )} \sin \left (f x + e\right )^{2}}{a^{2} b} - \frac{3}{a}\right )} \sin \left (f x + e\right )}{3 \,{\left (b \sin \left (f x + e\right )^{2} + a\right )}^{\frac{3}{2}} f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]